package com.oak.springbootshardingjdbc;

import lombok.Data;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassName: Goods
 * @Description
 * @Author guoxy
 * @Date 2020/5/14
 */
@Entity
@Table(name="goods")
@Data
public class Goods {
    @Id
    private Long goods_id;

    private String goodsName;

    private Long goodsType;
}
